﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Controller
{
    class Alert
    {
        //These don't need any processing on the way in or out so I used the default set/gets.
        //public byte alertID { set; get; }
        public int vineyardBlockID { set; get; }
        public Threshold threshold { set; get; }
        public double currentValue { set; get; }
        public string alertName { set; get; }
        public string alertDescription { set; get; }

        public Alert(int vineyardBlockID, Threshold threshold, double currentValue, string alertName, string alertDescription)
        {
            this.vineyardBlockID = vineyardBlockID;
            this.threshold = threshold;
            this.currentValue = currentValue;
            this.alertName = alertName;
            this.alertDescription = alertDescription;
        }

        public Alert()
        {
        }

    }
}
